package com.example.project.mapper;

import com.example.framework.baseMapper.BaseMapper;
import com.example.project.entity.GoodsBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 继承BaseMapper
 * 使用mybatis的通用mapper
 */
@Mapper
public interface ExcelMapper extends BaseMapper<GoodsBean> {

    int insertGoodInfo(@Param("goodInfoExcelList") List<Map<String, Object>> goodInfoExcel);

    List<GoodsBean> selectExportInfo();

    int saveBatch(@Param("list") List<GoodsBean> list);
}
